$OpenBSD: patch-lib_Mail_DMARC_Report_Receive_pm,v 1.2 2016/04/29 12:54:02 giovanni Exp $
--- lib/Mail/DMARC/Report/Receive.pm.orig	Wed Sep  9 01:20:48 2015
+++ lib/Mail/DMARC/Report/Receive.pm	Tue Apr 26 11:30:36 2016
@@ -234,7 +234,7 @@ sub handle_body {
 
     print "handling decompressed body\n" if $self->{verbose};
 
-    my $dom = XML::LibXML->load_xml( string => $body );
+    my $dom = XML::LibXML->new->parse_string($body);
     $self->do_node_report_metadata( $dom->findnodes("/feedback/report_metadata") );
     $self->do_node_policy_published( $dom->findnodes("/feedback/policy_published") );
 
